package model

import (
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ MallNavModel = (*customMallNavModel)(nil)

type (
	// MallNavModel is an interface to be customized, add more methods here,
	// and implement the added methods in customMallNavModel.
	MallNavModel interface {
		mallNavModel
	}

	customMallNavModel struct {
		*defaultMallNavModel
	}
)

// NewMallNavModel returns a model for the database table.
func NewMallNavModel(conn sqlx.SqlConn) MallNavModel {
	return &customMallNavModel{
		defaultMallNavModel: newMallNavModel(conn),
	}
}
